DeleteCookiesRequest

data class DeleteCookiesRequest(name: String, url: String?, domain: String?, path: String?)

Represents request frame that can be used with Network#deleteCookies operation call.

Deletes browser cookies with matching name and url or domain/path pair.

See also

Constructors

DeleteCookiesRequest
Link copied to clipboard
fun DeleteCookiesRequest(name: String, url: String? = null, domain: String? = null, path: String? = null)

Properties

domain
Link copied to clipboard
val domain: String? = null
If specified, deletes only cookies with the exact domain.
name
Link copied to clipboard
val name: String
Name of the cookies to remove.
path
Link copied to clipboard
val path: String? = null
If specified, deletes only cookies with the exact path.
url
Link copied to clipboard
val url: String? = null
If specified, deletes all the cookies with the given name where domain and path match provided URL.

Sources

jvm source
Link copied to clipboard